import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBMiShuTongCommonSubPage extends StatelessWidget {

  final String imageStr;
  final String titleStr;

  const YBMiShuTongCommonSubPage({Key key, this.imageStr, this.titleStr}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        children: [
          Container(
            width: YBTextStyle.adapterSize20,
          ),
          Container(
            child: Image.asset(YBImageStyle.getImagePath(imageStr),width: YBTextStyle.adapterSize36,height: YBTextStyle.adapterSize36,),
          ),
          Container(
            width: YBTextStyle.adapterSize10,
          ),
          Container(
            child: Text(titleStr??"",style: YBTextStyle.TextStyle1B1C1F16,),
          ),
        ],
      ),
    );
  }
}
